﻿using System.ComponentModel.DataAnnotations;

namespace PesticideManage.API.Services.Identity.UserAggregate;
/// <summary>
/// 企业
/// </summary>
public class Enterprise
{
    /// <summary>
    /// 企业名字
    /// </summary>
    [Key]
    public string Name { get; set; } = null!;
    /// <summary>
    /// 法定代表人
    /// </summary>
    public string LegalRepresentative { get; set; } = string.Empty;
    /// <summary>
    /// 统一社会信用代码 / 注册号
    /// </summary>
    public string CorporationNumber { get; set; } = null!;
    /// <summary>
    /// 营业执照
    /// </summary>
    public string BusinessLicense { get; set; } = null!;
}
